package c.a.md.androidvideo.gles;

/**
 * Created by ytf on 2018/11/5 005.
 * Description:
 */
public class CameraTriangle
{
    private int muMVPMatrixHandle;
    private float[] mMVPMatrix = new float[16];
    private float[] mMMatrix = new float[16];
    private float[] mVMatrix = new float[16];
    private float[] mProjMatrix = new float[16];

    private final String vertexShaderCode =
            // This matrix member variable provides a hook to manipulate
            // the coordinates of the objects that use this vertex shader
            "uniform mat4 uMVPMatrix;" +
            "attribute vec4 vPosition;" +
            "void main(){" +
            // the matrix must be included as a modifier of gl_Position
            " gl_Position = uMVPMatrix * vPosition;" +
            "}";
}
